package io.xccit.service;

import io.xccit.pojo.User;

/**
 * @author CH_ywx
 * @date 2023/9/30
 * @description
 */
public interface UserService {

    /**
     * 用户登录
     * @param user
     * @return
     */
    User login(User user);

    /**
     * 账号可用性检查
     * @param user
     * @return
     */
    User checkUser(User user);

    /**
     * 用户注册
     * @param user
     * @return
     */
    int register(User user);
}
